package com.ctshk.rpc.hotel.req.booking;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(description="产品中心酒店")
public class HotelApprovalReq implements Serializable {
    private static final long serialVersionUID = -1L;

    @NotNull(message = "审批id不能为空")
    @ApiModelProperty(value = "审批id", required = true)
    private Long approvalId;

    @NotNull(message = "业务id不能为空")
    @ApiModelProperty(value = "业务id", required = true)
    private Long businessId;

    @NotNull(message = "审批操作不能为空")
    @ApiModelProperty(value = "审批操作(0 撤回, 3 审批通过, 4 审批不通过)", example = "3", required = true)
    private Integer status;

    @ApiModelProperty(value = "通过或拒绝备注", example = "审批不合理不予通过")
    private String comments;

}
